package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import com.alibaba.fastjson.annotation.JSONField;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 题目内容
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@DbTable(tableName = "t_questionnaire_content")
public class QuestionnaireContent extends BaseEntity {
        /**
     * 题目id 
     */
    @DbTableField(columnName = "c_detail_id", dbType = DbTypeEnum.INTEGER)
    public Integer detailId ;

    /**
     * 修改人 
     */
    @DbTableField(columnName = "c_db_update_id", dbType = DbTypeEnum.INTEGER)
    public Integer dbUpdateId ;

    /**
     * 修改时间 
     */
    @DbTableField(columnName = "c_db_update_date", dbType = DbTypeEnum.TIMESTAMP)
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    public LocalDateTime dbUpdateDate ;

    /**
     * 排序号 
     */
    @DbTableField(columnName = "c_sort", dbType = DbTypeEnum.INTEGER)
    public Integer sort ;

    /**
     * 内容 
     */
    @DbTableField(columnName = "c_content", dbType = DbTypeEnum.VARCHAR)
    public String content ;


}
